package jp.co.dangonet.rest;

import java.io.File;
import java.io.IOException;

import org.xml.sax.SAXException;

import com.meterware.servletunit.ServletRunner;

public class ServletUtil {
	public static ServletRunner createServletRunner() throws IOException, SAXException {
		String webxmlPath = ServletUtil.class.getClassLoader().getResource("web.xml").getPath();
		ServletRunner runner = new ServletRunner(new File(webxmlPath));
		return runner;
	}
}
